package com.dmap.knowledge.service;

import com.dmap.knowledge.controller.api.param.ArticleHistoryParam;
import com.dmap.knowledge.controller.api.param.BannerHistoryParam;

/**
 * @Author zmh
 * @date 18-7-17 下午5:37
 */
public interface BannerHistoryService {
    
    /**
     * 增加banner历史
     *
     * @param articleHistoryParam
     * @return
     */
    public int insertBannerHistory(ArticleHistoryParam articleHistoryParam);

    /**
     * 增加banner历史
     *
     * @param bannerHistoryParam
     * @return
     */
    public int insertBannerHistory(BannerHistoryParam bannerHistoryParam);
    /**
     * 统计history的数量
     * @param bannerHistoryParam
     * @return
     */
    public int countBannerHistory(BannerHistoryParam bannerHistoryParam);
    
    /**
     * 删除history的数量
     * @param bannerHistoryParam
     * @return
     */
    public int deleteBannerHistory(BannerHistoryParam bannerHistoryParam);
    
}
